<?php get_header(); ?>

<div id="content">

<div id="contentmiddle">

<?php if( !is_ads_free() ): ?>
<p>
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id()?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "445588";
google_color_url = "000000";
google_color_text = "000000";
//--></script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<?php endif; ?>
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<p><?php previous_post_link('&laquo; %link') ?> . <?php next_post_link('%link &raquo;') ?></p>
<br clear="all" />
<div class="contentdate">
	<h3><?php the_time('M'); ?></h3>
	<h4><?php the_time('j'); ?></h4>
	</div>
	
<div class="contenttitle">
	<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
	<p>Filed Under <?php the_category(', ') ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
	</div>
	<?php the_content(__('Read more'));?>
	<!--
	<?php trackback_rdf(); ?>
	-->

	<?php endwhile; else: ?>

	<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?><br />
	<?php posts_nav_link(' &#8212; ', __('&laquo; go back'), __('keep looking &raquo;')); ?>

<?php if( !is_ads_free() ): ?>
<p style="padding:8px 0 8px;border-top:solid 1px #ccc;border-bottom:solid 1px #ccc" align="center">
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id()?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "444444";
google_color_text = "000000";
google_color_url = "999999";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<?php endif; ?>

	<h1>Comments</h1>
	<?php comments_template(); // Get wp-comments.php template ?>
	</div>

<?php get_sidebar(); ?>	

</div>

<!-- The main column ends  -->

<?php get_footer(); ?>